package io.renren.common.constant;

import java.text.DecimalFormat;

/**
 * 常量
 *
 * @author Mark
 */
public interface Dict {

    String ACCOUNT = "account";
    String ACCOUNT_TYPE = "account_type";
    String AMOUNT = "amount";
    String CREATETIMES = "createTime";
    String PAYORDERID = "payOrderId";
    String TRADENO = "tradeNo";
    String BANKCARDNUM = "bankCardNum";
    String BANKUSERNAME = "bankUserName";


    /**
     * System
     */
    int SUCCESS = 0;
    DecimalFormat df = new DecimalFormat("0.00");
    String DATA = "data";
    String STATUS = "status";
    String SIGN = "sign";
    String TIMESTAMP = "timestamp";
    String QRCODE = "qrcode";
    String ORDERID = "orderid";
    String PID = "pid";
    String MERCHANTID = "merchantid";
    String MERCHANTNAME = "merchantname";
    String BALANCE = "balance";
    String KEY = "key";
    String CLIENTTYPE = "clienttype";
    String PAY_BANKCODE = "pay_bankcode";
    String PAY_CALLBACKURL = "pay_callbackurl";
    String FROZENAMOUNT = "frozenamount";
    String MERCHANTORDERID = "merchantorderid";
    String ORDERCHANNEL = "orderchannel";//支付渠道
    String PAYURL = "payurl";
    String MESSAGE = "message";
    String NAME = "name";
    String PAYTYPE = "paytype";

    String FEE = "fee";
    String APPLYAMOUNT = "applyamount";
    String PAYAMOUNT = "payamount";
    String WXAMOUNT = "wxamount";
    String ZFBAMOUNT = "zfbamount";
    String UNINONPAYAMOUNT = "uninonpayamount";
    String CALLBACKURL = "callbackurl";
    String REQIP = "reqip";
    String ACCOUNTNAME = "accountname";
    String BRANCHBANKNAME = "branchbankname";
    String BANKNAME = "bankname";
    String ACCOUNTNO = "accountno";
    String SERURL = "serurl"; //服务器api地址
    String COPY_SERURL = "copy_serurl"; //复制链接url
    String REMARK = "remark";//备注
    String ID = "id";//ID
    String MID = "mid";//监控的ID
    String UID = "uid";//监控的账号ID
    String USERNAME = "username";//监控登陆账号

    String RECACCOUNT = "recaccount";//支付渠道的收款账号
    String RECZFBUSERID = "reczfbuserid";//支付宝收款账号userid
    String EXPIRE = "expire";
    String ORDERENTIY = "orderentiy";
    String SUCCESSFLAG = "successflag";//支付完成标识
    String SUCCESS_CODE = "success";//支付完成标识
    String UNIONPAY_PERCENT = "unionpay_percent";//云闪付优惠
    String BILLNO = "billno";
    String PAYTIME = "paytime";
    String CREATETIME = "createtime";
    String UPDATETIME = "updatetime";
    String DAYREAMOUNT = "dayreamount";    //当天已经收款金额

    /**
     * 系统后台定义的渠道的二维码
     */
    String TRSCODE = "trscode";//二维码类型
    String WECHAT_TRSCODE = "wechat_trscode";//微信二维码类型
    String ZFB_TRSCODE = "zfb_trscode";//支付宝二维码类型
    String UNIONPAY_TRSCODE = "unionpay_trscode";//云闪付二维码类型
    String WECHAT_ZFB = "wechat_zfb";
    /**
     * 系统定义的二维码类型
     */
    //微信
    String WECHAT_FIXD = "wechat_fixd";//微信固码
    String WECHAT_UNION = "wechat_union";//微信联合码
    String WECHAT_DYNAMIC = "wechat_dynamic";//微信个人动态收款二维码
    String WECHAT_DYNAMICCODE_DYT = "wechat_dynamic_dyt";//微信店员通
    String WECHAT_XPOS = "wechat_xpos";//星pos微信
    String WECHAT_FKPAY = "wechat_fkpay";//微信福卡e支付
    String WECHAT_NXYSPAY = "wechat_nxyspay";//微信农信易扫

    //支付宝
    String ZFB_FIXED = "zfb_fixed";//支付宝固码
    String ZFB_UNION = "zfb_union";
    String ZFB_DYNAMIC = "zfb_dynamic";//支付宝动态收款二维码
    String ZFB_REDBAG = "zfb_redbag";//支付宝红包
    String ZFB_INITIATIVE = "zfb_initiative";//支付宝向好友主动收款
    String ZFB_DDBREDBAG = "zfb_ddbredbag";//钉钉红包
    String ZFB_TRANSFER = "zfb_transfer";//支付宝个人转账二维转账码(固定金额与备注方式)
    String ZFB_TRANSFER_DYNAMIC = "zfb_transfer_dynamic";//支付宝个人转账二维转账码(不固定金额与备注方式)
    String ZFB_TOBANK = "zfb_tobank";//支付宝转网商银行二维码
    String ZFB_XPOS = "zfb_xpos";//星pos支付宝
    String ZFB_FKPAY = "zfb_fkpay";//支付宝福卡e支付
    String ZFB_NXYSPAY = "zfb_nxyspay";//支付宝农信易扫
    String ZFB_NEW_TRANSFER = "zfb_new_transfer";//支付宝新转账
    String ZFB_QREDBAG = "zfb_qredbag";//支付宝红包二维码类型

    String ALIPAY_MOBILEWEB = "alipay_mobileweb";//支付宝官方签约通道（手机网站支付产品）
    String ALIPAY_DMF = "alipay_dmf";//支付宝官方签约通道（手机网站支付产品）

    //云闪付
    String UNIONPAY_DYNAMIC = "unionpay_dynamic";//云闪付动态二维码类型

    String ZFB_CONFIG = "zfb_config";  //支付宝配置
    String WECHAT_CONFIG = "wechat_config"; //微信配置
    String UNION_CONFIG = "union_config"; //云闪付配置
    String BANK_CONFIG = "bank_config";  //银行卡配置
    String FK_CONFIG = "fk_config";  //福卡配置
    String ALIPAY_CONFIG = "alipay_config";  //支付宝原生配置

    /**
     * 监控端回调的paytype定义
     */
    String PAYTYPE_WECHAT = "wechat";  //微信回调类型
    String PAYTYPE_ALIPAY = "alipay";  //支付宝回调类型
    String PAYTYPE_ALIPAYREDBAG = "alipayredbag";  //支付宝红包回调类型
    String PAYTYPE_INITIATIVEBILLNO = "initiativebillno";  //支付宝主动收款模式回调类型
    String PAYTYPE_DDREDBAG = "ddredbag";  //支付宝钉钉红包回调类型
    String PAYTYPE_SMS = "sms";          //短信回调类型
    String PAYTYPE_UNIONPAY = "unionpay";  //云闪付回调类型
    String PAYTYPE_XPOS = "xpos";          //星pos回调类型
    String PAYTYPE_FKPAY = "fkpay";        //农信福卡回调类型
    String PAYTYPE_NXYSPAY = "nxyspay";    //农信易扫回调类型


    /**
     * redis缓存键名
     */
    String PAYQRCODE = "payqrcode";
    String REMARKSET = "remarkset";
    String ONLINEUSER = "onlineuser";
    String HEARTBEAT = "heartbeat";    //心跳
    String MERCHANT = "merchant";    //商户缓存
    String MOBILEUSER = "mobileuser";    //设备缓存
    String SYSCONFIG = "sysconfig";    //系统参数缓存
    String SYSPAYCONFIG = "syspayconfig";    //系统支付通道配置缓存
    String MERPAYCONFIG = "merpayconfig";    //商户支付通道配置缓存
    String OUTMERCHANTKEY = "outmerchantkey";
    String DAYREAMOUNT_ = "dayreamount_";    //当天已经收款金额
    String WECHATACCOUNTAMOUNT = "wechataccountamount";//微信设备当日收款金额集合
    String ALIDYNAMICCODECOUNT = "aliDynamicCodeCount";//当日支付宝个人收款码的生成次数
    String ALIFILLMOBILEUSERID = "aliFillMobileUserid";//当日不能在生成支付宝个人收款码的设备ID
    String IPADDRESSSET = "ipaddressset";//IP集合


    /**
     * 营销送红包状态
     */

    String CREATED = "CREATED"; //已创建未打款
    String PAID = "PAID"; //已打款
    String READY = "READY"; //活动已开始
    String PAUSE = "PAUSE";    //活动已暂停
    String CLOSED = "CLOSED";    //活动已结束
    String SETTLE = "SETTLE";    //活动已清算
    String FIXED = "fixed";    //固定金额
    String RANDOM = "random";    //随机金额


    /**
     * 商户回调配置
     */
    String MAX_CALL_TIMES = "MAX_CALL_TIMES";    //最大商户回调次数
    String CALL_BACK_INTERVAL = "CALL_BACK_INTERVAL";    //商户回调递增时间，比如5，递增时间为5/10/15/20
}